Motion.SetAxisVelocity 方法
設定軸的目標速度。此方法僅可在直接速度控制模式中使用,此為設定軸的目標速度的唯一方法。
命名空間:IntervalZero.KINGSTAR.Local.Api
組合: IntervalZero.KINGSTAR.Local.Api (於 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0
語法
public KsError SetAxisVelocity(
int Index,
double Velocity
)
Public Function SetAxisVelocity(
Index As Integer,
Velocity As Double
) As KsError
參數
Index
型別:int
軸索引。索引以 0 為起始;別名將影響此參數。
Velocity
型別:double
軸的速度(每秒使用者單位)。
回傳值
型別:KsError
方法的回傳代碼。
備註
使用直接速度模式,您可依據您的需求或自訂的插補在每週期設定軸的速度。
範例
N/A
參見